package com.hnas.hnt.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.hnas.hnt.dao.HntEmployeeCardDAO;
import com.hnas.hnt.orm.HntEmployeeCard;

@Component("hntEmployeeCardService")
@Transactional(isolation = Isolation.READ_COMMITTED, readOnly = false, propagation = Propagation.REQUIRED, value = "transactionManagerHnt")
public class HntEmployeeCardServiceImpl implements HntEmployeeCardService {

	@Autowired
	private HntEmployeeCardDAO hntEmployeeCardDAO;

	@Override
	public List<HntEmployeeCard> getCardList(String employeeId) {
		return this.hntEmployeeCardDAO.getCardList(employeeId);
	}
	
	
}